Multiline String
Java field-friendly version of TomlMultilimeString
Marks the annotated String property as multiline when encoded.
class MultilineStringData(
@TomlMultilineString
val multilineString: String
)
MultilineStringData("""
Do, a deer, a female deer.
Re, a drop of golden sun.
""".trimIndent())
Content copied to clipboard
will produce:
multilineString = """
Do, a deer, a female deer.
Re, a drop of golden sun."""
Content copied to clipboard
Author
fzzyhmstrs
Since
0.2.0